<template>
	<div class="add-jq-dialog">

		<appdialog 
			ref="dialog"
			:visible="false" 
			 width="40%"
			 title="服务授权协议"
			>
               <el-card class="warp_card" shadow="never">
                <div class="bottom clearfix">
                    <div class="item">
                        <p v-html="licenseText"></p>
                    </div>
                </div>
            </el-card>
		</appdialog>
	</div>
</template>

<script>
import appdialog from "@/view/components/dialog/dialog";
// import { getLicenseInfo } from '@/service/swagger/licenseController.js'
export default {
    components: {
        appdialog,
    },
    props:[
        "licenseText"
    ],
    data() {
        return {
            data: {},
        }
    },
    mounted() {
        // this.initData()
    },
    methods: {
        open() {
            this.$refs.dialog.open();
        },
        // initData() {
        //     this.loading = true
        //     getLicenseInfo({}).then(ret => {
        //         if (!ret.code) {
        //             this.loading = false
        //             this.data = ret.data
        //         }
        //     })
        // },
    }
}
</script>